<%@ page language="java"
         pageEncoding="UTF-8"%>
	<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html>
<html lang="en">
<head>
<base href="<%=basePath%>">
<title>材料支给</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">

<!-- 引用新样式 start -->
<jsp:include page="../../jsp/public.jsp" flush="true"/>
<!-- end -->
<script type="text/javascript" src="<%=basePath%>js/meter/lssued.js"></script>
<body>
	<div class="col-lg-12">
                <div class="index-nav-right">
                    <div class="index-nav-right-header"><span>当前位置 > 材料入库</span></div>
                </div>

                <div class="add-one-right">

                        <div class="row">
                             <div class="addInfo-one" id="departmentId">
                        <div class="row add-one-form-rowHeight">
                            <div class="form-group col-lg-5 col-lg-offset-1">
                                <label class="col-lg-3 control-label add-one-form-label">部品番号<span class = "font-red">*</span>:</label>
                                <div class="col-lg-7">
                                    <input type="text" class="form-control" id="modelCode" disabled value="${meter.modelCode }">
                                </div>
                            </div>
                            <div class="form-group col-lg-5">
                                <label class="col-lg-3 control-label add-one-form-label">用途<span class = "font-red">*</span>:</label>
                                <div class="col-lg-7">
                                    <select class=" form-control input-sm"
												name="useFor" id="useFor">
													<option value="取样" <c:if test="${meter.useFor == '取样'}">selected</c:if>>取样</option>
													<option value="调试" <c:if test="${meter.useFor == '调试'}">selected</c:if>>调试</option>
											</select>
                                </div>
                            </div>
                        </div>
                        <div class="row add-one-form-rowHeight">
                            <div class="form-group col-lg-5 col-lg-offset-1">
                                <label class="col-lg-3 control-label add-one-form-label">送长<span class = "font-red">*</span>:</label>
                                <div class="col-lg-7">
                                    <input type="text" class="form-control" name="grow" id="grow" value="${meter.grow }">
                                </div>
                            </div>
                            <div class="form-group col-lg-5">
                                <label class="col-lg-3 control-label add-one-form-label">宽幅<span class = "font-red">*</span>:</label>
                                <div class="col-lg-7">
                                    <input type="text" class="form-control" name="wide" id = "wide" value="${meter.wide }">
                                </div>
                            </div>
                        </div>
                        <div class="row add-one-form-rowHeight">
                            <div class="form-group col-lg-5 col-lg-offset-1">
                                <label class="col-lg-3 control-label add-one-form-label">板厚<span class = "font-red">*</span>:</label>
                                <div class="col-lg-7">
                                    <input type="text" class="form-control" name="tall" id="tall" value="${meter.tall }">
                                </div>
                            </div>
                            <div class="form-group col-lg-5">
                                <label class="col-lg-3 control-label add-one-form-label">计划枚数<span class = "font-red">*</span>:</label>
                                <div class="col-lg-7">
                                    <input type="text" class="form-control" name="planNum" id = "planNum" value="">
                                </div>
                            </div>
                        </div>
                        <div class="row add-one-form-rowHeight">
                            <div class="form-group col-lg-5 col-lg-offset-1">
                                <label class="col-lg-3 control-label add-one-form-label">每枚可取数<span class = "font-red">*</span>:</label>
                                <div class="col-lg-7">
                                    <input type="text" class="form-control" name="perNum" id="perNum" value ="${meter.perNum }">
                                </div>
                            </div>
                            <div class="form-group col-lg-5">
                                <label class="col-lg-3 control-label add-one-form-label">可取台数<span class = "font-red">*</span>:</label>
                                <div class="col-lg-7">
                                    <input type="text" class="form-control" name="planAmount" id = "planAmount" value ="${meter.planAmount }">
                                </div>
                            </div>
                        </div>
                        <div class="row add-one-form-rowHeight">
                            <div class="form-group col-lg-5 col-lg-offset-1">
                                <label class="col-lg-3 control-label add-one-form-label">到货时间<span class = "font-red">*</span>:</label>
                                <div class="col-lg-7">
                                    <input type="text" class="Wdate form-control" name="giveTime" id="giveTime" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" value ="">
                                </div>
                            </div>
                            <div class="form-group col-lg-5">
                                <label class="col-lg-3 control-label add-one-form-label">支给厂家<span class = "font-red">*</span>:</label>
                                <div class="col-lg-7">
                                    <input type="text" class="form-control" name="operator" id = "operator" value ="${meter.factory }">
                                </div>
                            </div>
                        </div>
                        <div class="add-one-form-rowHeight add-one-form-button">
                                <div class="" style="border:0px solid red">
                                    <button style="width:50px;margin-left: 450px;"  type="button" class="btn navbar-default" onClick="getTableValue('1')">提交</button>
                                    <button style="width:50px;"  type="button" class="btn navbar-default" onClick="getTableValue('0')">保存</button>
                                    <button style="width:50px;"  type="button" class="btn navbar-default" onclick="window.location.href='<%=path%>/bus/meter/returnMeterGive?url=<%=path%>/bus/meter/list&flg=queryPageBusModelMeter'">返回</button>
                                </div>
                            </div>
                    </div>
                        </div>
                    </div>
                    <!--表单信息输入第三步E-->
                    <!--表单信息输入-->
					<input type="text" hidden = "true" value = "${ aa}"/>
                </div>
</body>
</html>